﻿using System;
using Circle.Domain.Model;
using Circle.Web.ViewModelsClient;


namespace Circle.Web.Drivers.Contract
{
    public interface IAccountDriver : IBaseDriver
    {
        OperationStatus TryRegister(UserRegistrationClientModel registerUser, out TokenUser tokenUser);
        OperationStatus TrySignIn(UserSignInClientModel signInUser, out TokenUser tokenUser);
        OperationStatus TrySignOut(TokenUserClientModel clientTokenUser);
        OperationStatus TryUpdateUserPassword(UserPasswordUpdteClientModel userPasswordUpdate);
    }
}
